package com.version.manager.entity.Shop;

import com.version.manager.annotaion.OrderColumn;
import com.version.manager.annotaion.StatusColumn;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "shop_category")
@StatusColumn(name = "status")
@OrderColumn(name = "orderNum")
public class shopCategory {
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }

    @Column(name = "id")
    @Id
    private String id;
    @Column(name = "name")
    private String name;
    @Column(name = "status")
    private String status;
    @Column(name = "order_num")
    private int orderNum;
}
